#!/usr/bin/gnuplot

#set terminal post eps 24
set terminal post eps color 24 

# Task View: Graph 1
# task running time break down comparison with average value (reduce task)
set output "comp.eps"
set ylabel "Time (s)"
#set ylabel "Task ID"

set style fill empty border -1
set style histogram errorbars gap 2 title offset character 0,0,0
set style data histograms
set xtics border in scale 1,0.5 nomirror rotate by -45 offset character 0,0,0
set xtics ("phase 1" 0.000, "phase 2" 1.000, "phase 3" 2.000, "phase 4" 3.000, "phase 5" 4.000, "total" 5.000)

set key inside top center horizontal

plot "reduceav.dat" using 1:2 ti col title "reduce task no.28" lt 1 linecolor 1, "reduceav.dat" using 3:4 ti col title "average" lt 1 linecolor 3



